<?php

class Application_Model_Apiadapter extends Application_Model_Object
{
    protected $_apiprefix;
    protected $_proxy;

    public function __construct(Application_Model_Blog $blog)
    {
        $client = new Zend_XmlRpc_Client($blog->getXmlrpcUrl());
        $this->_proxy = $client->getProxy($this->_apiprefix);
    }

    public function getApiprefix()
    {
        return $this->_apiprefix;
    }
    
    public function getProxy()
    {
        return $this->_proxy;
    }


}

